<template>
  <div class="home-container">
    <v-header></v-header>
    <v-sideBar></v-sideBar>
    <el-main class="main">
      <router-view></router-view>
    </el-main>
  </div>
</template>

<script>
import vHeader from "@/components/Header.vue";
import vSideBar from "@/components/SideBar.vue";
export default {
  components: {
    vHeader,
    vSideBar,
  },
  methods: {},
};
</script>

<style lang="less" scoped>
.el-main {
  background-color: rgb(234, 237, 242);
}
.home-container {
  height: 100%;
}
</style>

<style>
.container {
  margin: 5px solid red;
  height: 90%;

  position: absolute;
  top: 60px;
}
.main {
  height: calc(100% - 60px);
}
</style>